import requests from "@/utils/request";

// 获取全部分类接口  /home/category/head  get
export const getCategoryAPI = () => requests({url:'/category/select/list',method:'get'});
export const getCategoryByIdAPI = (id) => requests({url:'/category/'+id,method:'get'});

